﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020001C3 RID: 451
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChallengeLineupList : IMessage<ChallengeLineupList>, IMessage, IEquatable<ChallengeLineupList>, IDeepCloneable<ChallengeLineupList>, IBufferMessage
	{
		// Token: 0x170005FB RID: 1531
		// (get) Token: 0x06001477 RID: 5239 RVA: 0x0003AA09 File Offset: 0x00038C09
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChallengeLineupList> Parser
		{
			get
			{
				return ChallengeLineupList._parser;
			}
		}

		// Token: 0x170005FC RID: 1532
		// (get) Token: 0x06001478 RID: 5240 RVA: 0x0003AA10 File Offset: 0x00038C10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChallengeLineupListReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170005FD RID: 1533
		// (get) Token: 0x06001479 RID: 5241 RVA: 0x0003AA22 File Offset: 0x00038C22
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChallengeLineupList.Descriptor;
			}
		}

		// Token: 0x0600147A RID: 5242 RVA: 0x0003AA29 File Offset: 0x00038C29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChallengeLineupList()
		{
		}

		// Token: 0x0600147B RID: 5243 RVA: 0x0003AA3C File Offset: 0x00038C3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChallengeLineupList(ChallengeLineupList other) : this()
		{
			this.avatarList_ = other.avatarList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600147C RID: 5244 RVA: 0x0003AA66 File Offset: 0x00038C66
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChallengeLineupList Clone()
		{
			return new ChallengeLineupList(this);
		}

		// Token: 0x170005FE RID: 1534
		// (get) Token: 0x0600147D RID: 5245 RVA: 0x0003AA6E File Offset: 0x00038C6E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<ChallengeAvatarInfo> AvatarList
		{
			get
			{
				return this.avatarList_;
			}
		}

		// Token: 0x0600147E RID: 5246 RVA: 0x0003AA76 File Offset: 0x00038C76
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChallengeLineupList);
		}

		// Token: 0x0600147F RID: 5247 RVA: 0x0003AA84 File Offset: 0x00038C84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChallengeLineupList other)
		{
			return other != null && (other == this || (this.avatarList_.Equals(other.avatarList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001480 RID: 5248 RVA: 0x0003AAB8 File Offset: 0x00038CB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.avatarList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001481 RID: 5249 RVA: 0x0003AAEC File Offset: 0x00038CEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001482 RID: 5250 RVA: 0x0003AAF4 File Offset: 0x00038CF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001483 RID: 5251 RVA: 0x0003AAFD File Offset: 0x00038CFD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.avatarList_.WriteTo(ref output, ChallengeLineupList._repeated_avatarList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001484 RID: 5252 RVA: 0x0003AB24 File Offset: 0x00038D24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.avatarList_.CalculateSize(ChallengeLineupList._repeated_avatarList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001485 RID: 5253 RVA: 0x0003AB5D File Offset: 0x00038D5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChallengeLineupList other)
		{
			if (other == null)
			{
				return;
			}
			this.avatarList_.Add(other.avatarList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001486 RID: 5254 RVA: 0x0003AB8B File Offset: 0x00038D8B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001487 RID: 5255 RVA: 0x0003AB94 File Offset: 0x00038D94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 58U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.avatarList_.AddEntriesFrom(ref input, ChallengeLineupList._repeated_avatarList_codec);
				}
			}
		}

		// Token: 0x0400087A RID: 2170
		private static readonly MessageParser<ChallengeLineupList> _parser = new MessageParser<ChallengeLineupList>(() => new ChallengeLineupList());

		// Token: 0x0400087B RID: 2171
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400087C RID: 2172
		public const int AvatarListFieldNumber = 7;

		// Token: 0x0400087D RID: 2173
		private static readonly FieldCodec<ChallengeAvatarInfo> _repeated_avatarList_codec = FieldCodec.ForMessage<ChallengeAvatarInfo>(58U, ChallengeAvatarInfo.Parser);

		// Token: 0x0400087E RID: 2174
		private readonly RepeatedField<ChallengeAvatarInfo> avatarList_ = new RepeatedField<ChallengeAvatarInfo>();
	}
}
